package com.snailvr.tv.network.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/10/21.
 */

public class ProgramListResponBean implements Serializable{

    /**
     * code : 0
     * message : success.
     * data : {"id":4,"name":"百家","icon":"http://58.247.47.106/cache/snailTV/pagefile/f0a29d510f7d966e2f2e40c838b4e7e6.png","online_users":0,"program_info":[{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479195322000,"end_time":1479195596000,"price":1,"type":"MV","array_index":457},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479195596000,"end_time":1479195736000,"price":1,"type":"MV","array_index":458},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479195736000,"end_time":1479196228000,"price":1,"type":"电视剧","array_index":459},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479196228000,"end_time":1479196669000,"price":1,"type":"电视剧","array_index":460},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479196669000,"end_time":1479196881000,"price":1,"type":"MV","array_index":461},{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479196881000,"end_time":1479197155000,"price":1,"type":"MV","array_index":462},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479197155000,"end_time":1479197295000,"price":1,"type":"MV","array_index":463},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479197295000,"end_time":1479197787000,"price":1,"type":"电视剧","array_index":464},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479197787000,"end_time":1479198228000,"price":1,"type":"电视剧","array_index":465},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479198228000,"end_time":1479198440000,"price":1,"type":"MV","array_index":466},{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479198440000,"end_time":1479198714000,"price":1,"type":"MV","array_index":467},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479198714000,"end_time":1479198854000,"price":1,"type":"MV","array_index":468},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479198854000,"end_time":1479199346000,"price":1,"type":"电视剧","array_index":469},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479199346000,"end_time":1479199787000,"price":1,"type":"电视剧","array_index":470},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479199787000,"end_time":1479199999000,"price":1,"type":"MV","array_index":471},{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479199999000,"end_time":1479200273000,"price":1,"type":"MV","array_index":472},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479200273000,"end_time":1479200413000,"price":1,"type":"MV","array_index":473},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479200413000,"end_time":1479200905000,"price":1,"type":"电视剧","array_index":474},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479200905000,"end_time":1479201346000,"price":1,"type":"电视剧","array_index":475},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479201346000,"end_time":1479201558000,"price":1,"type":"MV","array_index":476}]}
     */

    private int code;
    private String message;
    /**
     * id : 4
     * name : 百家
     * icon : http://58.247.47.106/cache/snailTV/pagefile/f0a29d510f7d966e2f2e40c838b4e7e6.png
     * online_users : 0
     * program_info : [{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479195322000,"end_time":1479195596000,"price":1,"type":"MV","array_index":457},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479195596000,"end_time":1479195736000,"price":1,"type":"MV","array_index":458},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479195736000,"end_time":1479196228000,"price":1,"type":"电视剧","array_index":459},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479196228000,"end_time":1479196669000,"price":1,"type":"电视剧","array_index":460},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479196669000,"end_time":1479196881000,"price":1,"type":"MV","array_index":461},{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479196881000,"end_time":1479197155000,"price":1,"type":"MV","array_index":462},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479197155000,"end_time":1479197295000,"price":1,"type":"MV","array_index":463},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479197295000,"end_time":1479197787000,"price":1,"type":"电视剧","array_index":464},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479197787000,"end_time":1479198228000,"price":1,"type":"电视剧","array_index":465},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479198228000,"end_time":1479198440000,"price":1,"type":"MV","array_index":466},{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479198440000,"end_time":1479198714000,"price":1,"type":"MV","array_index":467},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479198714000,"end_time":1479198854000,"price":1,"type":"MV","array_index":468},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479198854000,"end_time":1479199346000,"price":1,"type":"电视剧","array_index":469},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479199346000,"end_time":1479199787000,"price":1,"type":"电视剧","array_index":470},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479199787000,"end_time":1479199999000,"price":1,"type":"MV","array_index":471},{"id":64,"name":"酒吧","icon":"http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg","description":"酒吧娱乐","duration":274,"begin_time":1479199999000,"end_time":1479200273000,"price":1,"type":"MV","array_index":472},{"id":63,"name":"小番茄跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/96a704fddb232ad16b218250a189b211.png","description":"小番茄跳舞","duration":140,"begin_time":1479200273000,"end_time":1479200413000,"price":1,"type":"MV","array_index":473},{"id":57,"name":"前女友的男闺蜜6","icon":"http://58.247.47.106/cache/snailTV/pagefile/4dc351b48ad8d04f848ffa724506c25a.jpg","description":"前女友的男闺蜜第六集","duration":492,"begin_time":1479200413000,"end_time":1479200905000,"price":1,"type":"电视剧","array_index":474},{"id":60,"name":"前女友的男闺蜜10","icon":"http://58.247.47.106/cache/snailTV/pagefile/52a0d6ac5bcf286cb90a18853eec9ca8.jpg","description":"前女友的男闺蜜第十集","duration":441,"begin_time":1479200905000,"end_time":1479201346000,"price":1,"type":"电视剧","array_index":475},{"id":65,"name":"舞蹈室跳舞","icon":"http://58.247.47.106/cache/snailTV/pagefile/3fc93ab8dfc7de4d0e29feec662ed19a.png","description":"舞蹈室跳舞视频","duration":212,"begin_time":1479201346000,"end_time":1479201558000,"price":1,"type":"MV","array_index":476}]
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private String name;
        private String icon;
        private int online_users;
        /**
         * id : 64
         * name : 酒吧
         * icon : http://58.247.47.106/cache/snailTV/pagefile/79666e129282a01e3709091cd715d396.jpg
         * description : 酒吧娱乐
         * duration : 274
         * begin_time : 1479195322000
         * end_time : 1479195596000
         * price : 1
         * type : MV
         * array_index : 457
         */

        private List<ProgramInfoBean> program_info;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public int getOnline_users() {
            return online_users;
        }

        public void setOnline_users(int online_users) {
            this.online_users = online_users;
        }

        public List<ProgramInfoBean> getProgram_info() {
            return program_info;
        }

        public void setProgram_info(List<ProgramInfoBean> program_info) {
            this.program_info = program_info;
        }

        public static class ProgramInfoBean {
            private int id;
            private String name;
            private String icon;
            private String description;
            private int duration;
            private long begin_time;
            private long end_time;
            private int price;
            private String type;
            private int array_index;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getIcon() {
                return icon;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public long getBegin_time() {
                return begin_time;
            }

            public void setBegin_time(long begin_time) {
                this.begin_time = begin_time;
            }

            public long getEnd_time() {
                return end_time;
            }

            public void setEnd_time(long end_time) {
                this.end_time = end_time;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getArray_index() {
                return array_index;
            }

            public void setArray_index(int array_index) {
                this.array_index = array_index;
            }
        }
    }
}
